import {MyContext} from '../../App';
import {useContext} from 'react';

export const useUserId = () => {
  const {user} = useContext(MyContext);
  return user.userId.id;
};
